﻿
#ifndef SERIALCONFIG_H
#define SERIALCONFIG_H


#include <QObject>

class SerialConfig : public QObject
{
    Q_OBJECT
public:
    explicit SerialConfig(const QString & port_name,
                          int baud = 9600,int data_bits = 8,
                          int stop_bits = 1,int parity= 0);
    SerialConfig(SerialConfig* copy);
    SerialConfig(const SerialConfig& copy);
signals:
public:
    QString portName_;
    int baud_;
    int dataBits_;
    int stopBits_;
    int parity_;
};

#endif // SERIALCONFIG_H
